//
//  LeeSKViewController.m
//  EcologyME
//
//  Created by 李雪虎 on 2017/8/15.
//  Copyright © 2017年 xzcysoft. All rights reserved.
//

#import "LeeSKViewController.h"
#import "LeeSKerweimaViewController.h"
@interface LeeSKViewController ()
@property (weak, nonatomic) IBOutlet UILabel *shoukuanJinBiLabel;
@property (weak, nonatomic) IBOutlet UIButton *yuanbaoBtn;
@property (weak, nonatomic) IBOutlet UIButton *jinbiBtn;
@property (weak, nonatomic) IBOutlet UITextField *shuRuText;
@property (weak, nonatomic) IBOutlet UIButton *queDingBtn;

@end

@implementation LeeSKViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBar.hidden=NO;
    self.title = @"收款";
    // Do any additional setup after loading the view from its nib.
}
- (IBAction)queDingBtnClcike:(id)sender {
    NSLog(@"%@",_shuRuText.text);
    LeeSKerweimaViewController *vc = [LeeSKerweimaViewController new];
    [self.navigationController pushViewController:vc animated:YES];
}
- (IBAction)yuanbaoBtnClcike:(id)sender {
    [sender setBackgroundColor:COLOR(59, 141, 231, 1)];
    [sender setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [_jinbiBtn setBackgroundColor:[UIColor whiteColor]];
    [_jinbiBtn setTitleColor:COLOR(59, 141, 231, 1) forState:UIControlStateNormal];
    _shoukuanJinBiLabel.text = @"收款元宝";
}
- (IBAction)jinbiBtnClicke:(id)sender {
    [sender setBackgroundColor:COLOR(59, 141, 231, 1)];
    [sender setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    [_yuanbaoBtn setBackgroundColor:[UIColor whiteColor]];
    [_yuanbaoBtn setTitleColor:COLOR(59, 141, 231, 1) forState:UIControlStateNormal];
    _shoukuanJinBiLabel.text = @"收款金币";
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
